﻿using System.Runtime.Serialization;

namespace SMARTMobile.Models.Local
{
    [DataContract]
    public class SqlMenu
    {
        [DataMember]
        public string RecNo { get; set; }

        [DataMember]
        public int ID { get; set; }

        [DataMember]
        public string Type { get; set; }

        [DataMember]
        public string Description { get; set; }

        [DataMember]
        public string imge { get; set; }

        [DataMember]
        public int loction { get; set; }

        [DataMember]
        public string usertype { get; set; }

        [DataMember]
        public int inmagevalues { get; set; }

        [DataMember]
        public int AppStatus { get; set; }

        public override string ToString()
        {
            return string.Format("ID: {0}, Type: {1}, Name: {2}, AppStatus: {3}", this.ID, this.Type, this.Description, this.AppStatus);
        }
    }
}
